package org.example.struct.array;

/**
 * @author liyishan
 * @date 2024/6/17 10:14
 * @apiNote
 */

public class Test00521FindLUSlength {

    public int findLUSlength(String a, String b) {
        return a.equals(b) ? -1 : Math.max(a.length(), b.length());
    }
}
